package com.twu.biblioteca;

/**
 * Created by thais on 1/16/14.
 */
public class Movie {

    private String name;
    private int year;
    private String directorName;
    private String rate;
    private boolean isAvailable;


    public Movie(String name, int year, String directorName, String rate, boolean isAvailable) {
        this.name = name;
        this.year = year;
        this.directorName = directorName;
        this.rate = rate;
        this.isAvailable = isAvailable;
    }

    public boolean isAvailable() {
        return isAvailable;
    }

    public String getName() {
        return name;
    }

    public void setAvailable(boolean isAvailable) {
        this.isAvailable = isAvailable;
    }
}
